package com.dlc.shop.systemtest.api.amount;

import com.dlc.shop.distribution.api.param.DistributionUserParam;
import com.dlc.shop.systemtest.constants.Constant;
import com.dlc.shop.systemtest.util.HttpUtil;

/**
 * 分销员注册接口
 * @author: zsm
 * @date: 2023/2/28 9:37
 */
public class DistributionRegisterApi {

    /**
     * 申请成为分销员，返回分销员状态 0 待审核 1 正常
     * @param distributionUserParam
     */
    public static void addDistributionUser(DistributionUserParam distributionUserParam){
        String url = Constant.API_URL + "/p/distribution/register/addDistributionUser";
        HttpUtil.post(url,distributionUserParam);
    }
}
